<!DOCTYPE html>
<html lang="en">
<body>
<div class=" admin-content">
	<div class="daohang"></div>
	<div class="admin-biaogelist">
		<div class="listbiaoti am-cf">
			<ul class="am-icon-flag on"> 添加商品规格</ul>
			<dl class="am-icon-home" style="float: right;"> 当前位置： 首页 > <a href="#">添加商品规格</a></dl>
		</div>
		<div class="fbneirong">
			<form class="am-form" method="post" action="<?php echo site_url() . '/Welcome/addNorms'; ?>">
				<div class="am-form-group am-cf">
					<div class="zuo">分类</div>
					<div class="you" style="height: 45px;">
						<select name="link" class="am-input-smy">
							<?php foreach ($result as $key => $value) {
							?>
								<option class="ace"><?php echo $value['title']; ?></option>
							<?php } ?>
						</select>
					</div>
				</div>
				<div class="am-form-group am-cf">
					<div class="zuo">规格1</div>
					<div class="you" style="height: 45px;">
						<input type="text" class="forPicture" name="picture" placeholder="请输入规格1">
					</div>
				</div>
				<div class="am-form-group am-cf">
					<div class="zuo">规格2</div>
					<div class="you">
						<input type="text" class="admur" name="size" placeholder="请输入规格2">
					</div>
				</div>
				<div clas="am-form-group am-cf">
					<div class="you" style="margin-left: 11%;">
						<button type="botton" class="am-btn am-btn-secondary am-radius">添加</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>

<script type="text/javascript">

$(".am-radius").click(
	function() {
		var link = $(".am-input-smy").val();
		var picture = $(".forPicture").val();
		var size = $(".admur").val();
	}
);

</script>

<script src="<?php echo base_url() . 'public/assets/js/amazeui.min.js'; ?>"></script>
</body>
</html>